﻿<%@ Page Title="Cliente" MasterPageFile="~/Site.master" Language="C#" AutoEventWireup="true" CodeBehind="Customer.aspx.cs" Inherits="LuckyLoot.Presentation.CustomerPage" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<fieldset><legend>Cliente</legend>
    <div>
        <label for="customerName">Nome*</label><br />
        <asp:TextBox runat="server" ID="customerName" ClientIDMode="Static" CssClass="k-textbox" required></asp:TextBox><br />

        <label for="customerPhone">Telefone</label><br />
        <asp:TextBox runat="server" ID="customerPhone" ClientIDMode="Static" CssClass="k-textbox"></asp:TextBox><br />
        
        <label for="customerEmail">Email</label><br />
        <asp:TextBox runat="server" ID="customerEmail" ClientIDMode="Static" type="email" CssClass="k-textbox" Width="350" validationMessage="Insira um e-mail válido" ></asp:TextBox><br />
        
        <label for="customerFacebook">Link do Facebook</label><br />
        <asp:TextBox runat="server" ID="customerFacebook" ClientIDMode="Static" CssClass="k-textbox" pattern="(?:(?:http|https):\/\/)?(?:www.)?facebook.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[?\w\-]*\/)?(?:profile.php\?id=(?=\d.*))?([\w\-]*)?" validationMessage="Insira um link válido." ></asp:TextBox><br />
        <br />
        <asp:Button runat="server" ID="SaveCustomer" CssClass="k-button" Text="Salvar" />
    </div>
    </fieldset>
        <h1><asp:Label ID="customersLabel" Visible="false" runat="server" Text="Clientes"></asp:Label></h1>
        <asp:GridView ID="customersGrid" Visible="false" ClientIDMode="Static" runat="server" EmptyDataText="-" ></asp:GridView>

        <script>
            $(document).ready(function () {


                $("#customersGrid").kendoGrid({
                    selectable: true
                });


            });

    </script>

</asp:Content>
